#ifndef __HELLOWORLD_SCENE_H__
#define __HELLOWORLD_SCENE_H__

#include "cocos2d.h"
#include"Box2D\Box2D.h"

class HelloWorld : public cocos2d::Node
{
public:
    static cocos2d::Scene* createScene();

    virtual bool init();

    CREATE_FUNC(HelloWorld);

	void createWorld();
	
	void createCircle();

	void createRect();

	virtual void update(float dt) override;
	
	virtual void draw(cocos2d::Renderer *renderer, const cocos2d::Mat4& transform, uint32_t flags);
	
	void onExit() override;
private:
	b2World * pWorld;
};

#endif // __HELLOWORLD_SCENE_H__
